package com.cl.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class Controller1 {
    @RequestMapping("/hello")
    public String hello(){
        return "hello";
    }
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    @RequestMapping("/index2")
    public String index2(){
        return "index2";
    }
}
